package com.jmx.yp.entity;

import java.util.Date;

/**
 * 
 * 功能描述：
 *			角色类
 * @author Jenny
 *
 * Date:2011-1-22 下午10:19:28
 */
public class Role {
	private Long serialid;
	private String role_code;
	private String role_name;
	private String role_func;
	private Integer invalid;
	private String operator;
	private Date datetime;
	private Integer state;
	private String remark;
	private Long langclass;
	private Long group_srl;
	private Integer role_type;  //0表示杰马逊，1表示group
	
	/*杰马逊组织内部角色**/
	public static final int ROLE_TYPE_JMX = 0;
	
	/* 组织机构角色**/
	//（备注：如果是由杰马逊维护的默认组织机构初始化角色，则该字段为1，同时角色对象中的组织编号为空）
	public static final int ROLE_TYPE_GROUP = 1;
	
	public Long getSerialid() {
		return serialid;
	}
	public void setSerialid(Long serialid) {
		this.serialid = serialid;
	}
	public String getRole_code() {
		return role_code;
	}
	public void setRole_code(String roleCode) {
		role_code = roleCode;
	}
	public String getRole_name() {
		return role_name;
	}
	public void setRole_name(String roleName) {
		role_name = roleName;
	}
	public String getRole_func() {
		return role_func;
	}
	public void setRole_func(String roleFunc) {
		role_func = roleFunc;
	}
	public Integer getInvalid() {
		return invalid;
	}
	public void setInvalid(Integer invalid) {
		this.invalid = invalid;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public Date getDatetime() {
		return datetime;
	}
	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Long getLangclass() {
		return langclass;
	}
	public void setLangclass(Long langclass) {
		this.langclass = langclass;
	}
	public Long getGroup_srl() {
		return group_srl;
	}
	public void setGroup_srl(Long groupSrl) {
		group_srl = groupSrl;
	}
	public Integer getRole_type() {
		return role_type;
	}
	public void setRole_type(Integer roleType) {
		role_type = roleType;
	}
	
	
	
}